<!-- 单选选项卡配置 -->
<template>
	<div>
		<el-collapse accordion>
			<el-form-item label="激活文本颜色">
				<avue-input-color v-model="main.activeOption.textColor" :disabled="disabled"></avue-input-color>
			</el-form-item>
			<el-form-item label="激活填充颜色">
				<avue-input-color v-model="main.activeOption.fill" :disabled="disabled"></avue-input-color>
			</el-form-item>
			<el-form-item label="禁用">
				<avue-switch v-model="main.activeOption.disabled" :disabled="disabled"> </avue-switch>
			</el-form-item>
		</el-collapse>
	</div>
</template>

<script>
import { dicOption } from '@/option/config';
export default {
	name: 'radioGroup',
	data() {
		return {
			dicOption: dicOption,
			disabled: this.contain.activeObj.isLock
		};
	},
	inject: ['main', 'contain']
};
</script>

<style></style>
